<?php echo $this->Form->create('Categoria', array('class' => 'form-horizontal')); ?>
<p class="required">Os campos com <em>*</em> são de preenchimento obrigatório</p>
<div class="row-fluid">
	<div class="control-group required span12 <?php echo ($this->Form->isFieldError('nome')) ? 'error' : ''; ?>">
		<?php echo $this->Form->Label('nome', 'Categoria', array('class' => 'control-label'));	?>
		<div class="controls">
			<?php echo $this->Form->input('nome', array('type' => 'text', 'class' => 'span10', 'label' => false, 'div' => false, 'required' => false, 'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-block'))));	?>
		</div>
	</div>
</div>
<?php echo $this->Form->end(); ?>


